<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>PersonMangerment</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/index.css">
    <script src="../jq/jquery-1.12.4.js"></script>
    <script src="../jq/index-jq.js"></script>
    <script src="../jq/jquery.mockjax.min.js"></script>
    <script src="../jq/echarts.min.js"></script>

</head>
<body>
<header>
    <div class="header">
        <p class="h2">员工管理系统</p>
        <div class="form-group find">
            <input type="text" class="form-control" id="inputfind">
        </div>
        <div class="btnbox">
            <button type="button"
                    class="btn btn-info btn-primary btn-sm"
                    data-toggle="modal"
                    id="findbtn" data-target="#findperson">查询
            </button>
            <button type="button" class="btn btn-success btn-primary btn-sm"
                    data-toggle="modal" data-target="#addperson"
                    id="addbtn">新增
            </button>
            <button type="button" class="btn btn-danger btn-primary btn-sm"
                    id="delbtn" disabled>删除
            </button>
        </div>
    </div>
</header>
<article>
    <div class="content">
        <table class="table">
            <thead class="thead-light">
            <tr>
                <th>
                    <input type="checkbox"
                           aria-label="Radio button for following text input"
                           id="checkall">
                </th>
                <th scope="col">#</th>
                <th scope="col">empName</th>
                <th scope="col">email</th>
                <th scope="col">gander</th>
                <th scope="col">deptName</th>
                <th scope="col">操作</th>
            </tr>
            </thead>
            <tbody>

            </tbody>
        </table>
    </div>
</article>
<div class="foot">
    <nav aria-label="Page navigation example col-sm-4">
        <ul class="pagination">
            <li class="page-item">
                <a id="prevent" class="page-link" href="javascript:;"
                   aria-label="Previous"  aria-disabled="true">
                    <span aria-hidden="true">&laquo;</span>
                </a>
            </li>
            <li class="page-item"><a class="page-link pagebtn"
                                     href="javascript:;">1</a></li>
            <li class="page-item"><a class="page-link pagebtn"
                                     href="javascript:;">2</a></li>
            <li class="page-item"><a class="page-link pagebtn"
                                     href="javascript:;">3</a></li>
            <li class="page-item"><a class="page-link pagebtn"
                                     href="javascript:;">4</a></li>
            <li class="page-item"><a class="page-link pagebtn"
                                     href="javascript:;">5</a></li>
            <li class="page-item">
                <a id="next" class="page-link" href="javascript:;"
                    aria-label="Next">
                    <span aria-hidden="true">&raquo;</span>
                </a>
            </li>
        </ul>
    </nav>
</div>
<!--表格-->
<div class="tabdiv">
    <div id="main" style="width: 600px;height: 360px;"></div>
    <div id="main1" style="width: 600px;height: 360px;"></div>
</div>
<!--增加-->
<div class="modal fade" id="addperson" tabindex="-1"
     role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title"
                    id="exampleModalCenterTitle">新增员工</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <form action="">
                <!--empName-->
                <div class="form-group row">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="exampleFormControlInput1"
                           class="col-sm-2 col-form-label">empName
                    </label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control"
                               id="exampleFormControlInput1"
                        placeholder="empName" >
                    </div>
                    <div class="alert alert-danger none" role="alert">
                        A simple danger alert—check it out!
                    </div>
                </div>
                <!--email-->
                <div class="form-group row">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="exampleFormControlInput2"
                           class="col-sm-2 col-form-label">email
                    </label>
                    <div class="col-sm-7">
                        <input type="email" class="form-control"
                               id="exampleFormControlInput2"
                        placeholder="email@gmail.com"
                        >
                    </div>
                    <div class="alert alert-danger none" role="alert">
                        A simple danger alert—check it out!
                    </div>
                </div>
                <!--gender-->
                <div class="form-group row" id="addgender">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="exampleFormControlInput2"
                           class="col-sm-2 col-form-label">gender
                    </label>
                    <div class="form-check form-check-inline">
                        <input class="form-check-input" type="radio"
                               name="gender" id="inlineRadio1"
                               value="1" checked="checked">
                        <label class="form-check-label"
                               for="inlineRadio1">男</label>
                    </div>
                    <div class="form-check form-check-inline">
                        <input class="form-check-input" type="radio"
                               name="gender" id="inlineRadio2"
                               value="2">
                        <label class="form-check-label"
                               for="inlineRadio2">女</label>
                    </div>
                </div>
                <!--deptName-->
                <div class="form-group row">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="exampleFormControlInput2"
                           class="col-sm-2 col-form-label">deptName
                    </label>
                    <div class="col-sm-3">
                        <select class="form-control " id="adddept">
                            <option value="1">开发部</option>
                            <option value="2">测试部</option>
                        </select>
                    </div>
                </div>
            </form>

            <div class="modal-footer">
                <button type="button" class="btn btn-secondary"
                        data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary"
                        id="savebtn">保存
                </button>
            </div>
        </div>
    </div>
</div>
<!--修改-->
<div class="modal fade" id="editperson" tabindex="-1"
     role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title"
                    id="exampleModalCenterTitle2">员工修改</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <form action="">
                <!--empName-->
                <div class="form-group row">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="editInput1"
                           class="col-sm-2 col-form-label">empName
                    </label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control"
                               id="editInput1"
                               placeholder="empName">
                    </div>
                    <div class="alert alert-danger none" role="alert">
                        A simple danger alert—check it out!
                    </div>
                </div>
                <!--email-->
                <div class="form-group row">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="editInput2"
                           class="col-sm-2 col-form-label">email
                    </label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control"
                               id="editInput2"
                               placeholder="email@gmail.com">
                    </div>
                    <div class="alert alert-danger none" role="alert">
                        A simple danger alert—check it out!
                    </div>
                </div>
                <!--gender-->
                <div class="form-group row" id="editgender">
                    <label for="inlineRadio1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="inlineRadio3"
                           class="col-sm-2 col-form-label">gender
                    </label>
                    <div class="form-check form-check-inline">
                        <input class="form-check-input" type="radio"
                               name="gender" id="inlineRadio3"
                               value="1" checked="checked">
                        <label class="form-check-label"
                               for="inlineRadio1">男</label>
                    </div>
                    <div class="form-check form-check-inline">
                        <input class="form-check-input" type="radio"
                               name="gender" id="inlineRadio4"
                               value="2">
                        <label class="form-check-label"
                               for="inlineRadio2">女</label>
                    </div>
                </div>
                <!--deptName-->
                <div class="form-group row" id="editdept">
                    <label for="exampleFormControlInput1"
                           class="col-sm-1 col-form-label">
                    </label>
                    <label for="exampleFormControlInput2"
                           class="col-sm-2 col-form-label">deptName
                    </label>
                    <div class="col-sm-3">
                        <select class="form-control ">
                            <option value="1">开发部</option>
                            <option value="2" selected="selected">
                                测试部</option>
                        </select>
                    </div>
                </div>
            </form>

            <div class="modal-footer">
                <button type="button" class="btn btn-primary"
                        id="editbtn">保存
                </button>
            </div>
        </div>
    </div>
</div>
<!--查询-->
<div class="modal fade" id="findperson" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">查询结果</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <p></p>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>
<script src="../jq/bootstrap.min.js"></script>
</body>
</html>